package com.yanqu.road.server.timer.patrons;

import com.yanqu.road.server.manger.activity.jiuzhou.JiuZhouMgr;
import com.yanqu.road.utils.executor.GeneralTask;

/**
 * 门客数据同步定时器
 */
public class PatronsUploadAbilityTask extends GeneralTask {
    private boolean isRun = false;

    @Override
    public void doRun() {
        if (!isRun) {
            isRun = true;
            try {

                // 九州棋局
                JiuZhouMgr.patronsUploadAbilityTask();


            } catch (Exception e) {
                getLOGGER().error(Thread.currentThread().getStackTrace()[1].getMethodName() + ":", e);
            }

            isRun = false;
        }
    }
}
